/**
 * output package name
 */
package com.kingdee.eas.basedata.assistant;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class ConvertModeEnum extends IntEnum
{
    public static final int DIRECTEXCHANGERATE_VALUE = 0;
    public static final int INDIRECTEXCHANGERATE_VALUE = 1;

    public static final ConvertModeEnum DIRECTEXCHANGERATE = new ConvertModeEnum("DIRECTEXCHANGERATE", DIRECTEXCHANGERATE_VALUE);
    public static final ConvertModeEnum INDIRECTEXCHANGERATE = new ConvertModeEnum("INDIRECTEXCHANGERATE", INDIRECTEXCHANGERATE_VALUE);

    /**
     * construct function
     * @param integer convertModeEnum
     */
    private ConvertModeEnum(String name, int convertModeEnum)
    {
        super(name, convertModeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ConvertModeEnum getEnum(String convertModeEnum)
    {
        return (ConvertModeEnum)getEnum(ConvertModeEnum.class, convertModeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static ConvertModeEnum getEnum(int convertModeEnum)
    {
        return (ConvertModeEnum)getEnum(ConvertModeEnum.class, convertModeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ConvertModeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ConvertModeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ConvertModeEnum.class);
    }
}